Payamito\Woocommerce\Modules\Abandoned\Abandonment D

Total Complexity 163
Dependencies 4
Dependents 1
Total lines 959
Lines of code 620
Logical lines of code 381
Comment lines 170
Methods 35
Properties 1

Methods 35

Method Rating Maintainability Complexity Lines of code
abandonment()
C
34 26 83
restore_cart_abandonment_data()
B
38 18 62
delete_cart_abandonment_data()
A
43 13 46
pwc_abandonment_ca_update_order_status()
A
47 12 32
save_cart_abandonment_data()
A
46 9 37
abandonment_completed()
A
50 9 27
define_cart_abandonment_constants()
A
56 8 23
abandonment_sended()
A
53 8 22
__construct()
S
50 5 28
cart_abandonment_tracking_script()
S
51 4 26
prepare_abandonment_data()
S
46 3 39
unsubscribe_cart_abandonment_emails()
S
58 4 14
is_first_send_template()
S
59 4 12
is_valid_token()
S
62 4 11
check_if_similar_cart()
S
76 4 3
is_time_send()
S
60 3 14
abandonment_history_update()
S
59 3 13
prepare_pattern_send()
S
61 3 12
skip_future_sms_when_order_is_completed()
S
58 2 16
enqueue_scripts()
S
71 3 5
fetch_scheduled_checkout()
S
63 2 10
get_instance()
S
71 2 6
get_cart_abandonment_tracking_cut_off_time()
S
74 2 4
prepare_text_send()
S
91 1 2
delete_coupen()
S
80 1 3
abandonment_history_insert()
S
64 1 10
add_cron()
S
66 1 8
get_checkout_details()
S
68 1 7
get_checkout_details_by_phone()
S
67 1 7
get_captured_data_by_phone()
S
69 1 6
get_tracked_data_without_status()
S
68 1 7
abandoned_cart_count()
S
67 1 7
pwc_abandonment_decode_token()
S
73 1 5
pattern_send()
S
72 1 5
delete_empty_abandoned_order()
S
67 1 8